package cn.wolfcode.rbac.service;

import cn.wolfcode.rbac.domain.Department;
import cn.wolfcode.rbac.util.QueryObject;

import java.util.List;

/**
 * Created by Blank9 on 2020/7/10.
 */
public interface IDepartmentService {
    void delete(Long id);

    Department get(Long id);

    List<Department> listAll();

    void saveOrUpdate(Department department);

    List<Department> query(QueryObject queryObject);
}
